nfs mountpoint named ``share'' breaks ls and man

Posted by freddyb on Ask Ubuntu See other posts from Ask Ubuntu or by freddyb
Published on 2012-03-13T10:22:47Z Indexed on 2012/03/19 23:39 UTC
Read the original article Hit count: 214

Filed under:

I mounted a nfs server to ~/share. This works fine as long as I'm at home, where the nfs share is in reach. Whenver I'm not, this seems to break access to all manpages. Using man (or ls in my homedir) waits forever. Checking with strace reveals that they try to access the folder called share.

Unmounting fails too. Even with -l (lazy) and -f (force).

I am asking for three things here:

  • Is ``share'' a magic name? Does something like MANPATH exist, which I should avoid?
  • How do I unmount without rebooting? (I already commented the share out in fstab)
  • What would you suggest me to do, to have network/position based mounting of NFS shares?

© Ask Ubuntu or respective owner